package com.ibeetl.admin.console.dao;

import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import com.ibeetl.admin.core.entity.LeaveMsg;
import com.ibeetl.admin.core.util.enums.GeneralStateEnum;

import java.util.List;

@SqlResource("console.leavemsg")
public interface LeaveMsgConsoleDao extends BaseMapper<LeaveMsg> {

    PageQuery<LeaveMsg> queryByCondtion(PageQuery<LeaveMsg> query);
    void batchDelLeaveMsgByIds( List<Long> ids);
    
    LeaveMsg queryById(Long id);
    
    int updateById(LeaveMsg leaveMsg);
}
